<%@ page language="java" pageEncoding="utf-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <html:base />
    
    <title>beforePk.jsp</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script type="text/javascript">
	var arrFlag = new Array();
  	arrFlag[0] = 0;
  	arrFlag[1] = 0;
  	arrFlag[2] = 0;
  	arrFlag[3] = 0;
  	var i = 0;
function addPKTeacher(id, name)
{
  list = document.getElementById("pklist");
    for(i = 0 ; i<4 ; i++)
  {
      if(arrFlag[i] == 0)
      {
         list.innerHTML += "<a class='nav sub'>王小丫</a><span class='hide'> | </span>";

           arrFlag[i] = 1;
           document.getElementsByName("tid"+(i+1))[0].value=id;
           break;
      }
  }
}

function deletePKTeacher(id)
{
}
</script>
	
<script type="text/javascript">
addPKTeacher()
{
}
</script>
  </head>
  
  <body>
  
<span id="pklist">
<a class="nav sub">王小丫</a><span class="hide"> | </span>
<a class="nav sub">周家富</a><span class="hide"> | </span>
<a class="nav sub">毕大宇</a><span class="hide"> | </span>
<a class="nav sub">金鑫</a></span>
    <html:form action="/teacherpk.do?operation=pkTeachers" method="post">
    <html:hidden property="tid1" value="1"/>
    <html:hidden property="tid2" value="2"/>
    <html:hidden property="tid3" value="3"/>
    <html:hidden property="tid4" value="4"/>
     <html:submit />
    </html:form>
  </body>
</html:html>
